package com.gears_software.sxdc.dccx.data.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by chezhenzhen on 2017/11/24.
 * 本地存储实时位置
 */
@DatabaseTable(tableName = "locTable")
public class LocLocationModel {
    @DatabaseField(generatedId = true)
    private int id;
    @DatabaseField
    private double latitue;//获取纬度
    @DatabaseField
    private double longitude;//获取经度
    @DatabaseField
    private float speed;
    @DatabaseField
    private long time;
    @DatabaseField
    private float bearing;
    @DatabaseField
    private String orderid;


    public LocLocationModel() {
    }

    public LocLocationModel(int id, double latitue, double longitude, float speed, long time, float bearing, String orderid) {
        this.id = id;
        this.latitue = latitue;
        this.longitude = longitude;
        this.speed = speed;
        this.time = time;
        this.bearing = bearing;
        this.orderid = orderid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public double getLatitue() {
        return latitue;
    }

    public void setLatitue(double latitue) {
        this.latitue = latitue;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public float getSpeed() {
        return speed;
    }

    public void setSpeed(float speed) {
        this.speed = speed;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public float getBearing() {
        return bearing;
    }

    public void setBearing(float bearing) {
        this.bearing = bearing;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }
}
